import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/mgt/project/query',
    method: 'post',
    data
  })
}

export function querySelf(data) {
  return request({
    url: '/mgt/project/querySelf',
    method: 'post',
    data
  })
}

export function saveByJson(data) {
  return request({
    url: '/mgt/project/saveByJson',
    method: 'post',
    data
  })
}

export function batchDelete(data) {
  return request({
    url: '/mgt/project/batchDelete',
    method: 'post',
    data
  })
}

export function deletes(data) {
  return request({
    url: '/mgt/project/deletes',
    method: 'post',
    data
  })
}

export function findByProvinceCity(data) {
  return request({
    url: '/mgt/project/findByProvinceCity',
    method: 'post',
    data
  })
}

export function queryHomePage(data) {
  return request({
    url: '/mgt/project/queryHomePage',
    method: 'post',
    data
  })
}
export function queryRiskList(data) {
  return request({
    url: '/mgt/project/queryRiskList',
    method: 'post',
    data
  })
}

export function getDetailById(data) {
  return request({
    url: '/mgt/project/getById',
    method: 'post',
    data
  })
}
